From: Iain Lane Date: Wed, 6 Mar 2019 12:33:33 +0000 (+0000) Subject: build: Add mutter's private directory to libst's build-time RPATH X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~879^2^2~12 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=c73428247c18e1bfcf0fa722e763db44be175a87;p=gnome-shell.git build: Add mutter's private directory to libst's build-time RPATH We need this to run `test-theme`, otherwise when run as part of the build tests it fails like: error while loading shared libraries: libmutter-cogl-4.so.0: cannot open shared object file: No such file or directory https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/442 --- diff --git a/src/st/meson.build b/src/st/meson.build index 38ae5c722..444ed4901 100644 --- a/src/st/meson.build +++ b/src/st/meson.build @@ -126,6 +126,7 @@ libst = shared_library('st-1.0', sources: st_gir_sources + st_non_gir_sources, c_args: st_cflags, dependencies: [clutter_dep, gtk_dep, croco_dep, x11_dep, m_dep], + build_rpath: mutter_typelibdir, install_rpath: mutter_typelibdir, install_dir: pkglibdir, install: true